const useOpenWindow = () => {
  const openWebSite = (url) => {
    global.electron.shell.openExternal(url)
  }

  return {
    openWebSite
  }
}

export default useOpenWindow